﻿@model NCP.Recruiting.ApplicationServices.ViewModels.ResumeViewModel
<div class="personal_information">
    <div class="personal_information_left">
        <ul>
            <li><span><b>@Model.FullName</b>@Model.ResumeName</span>
                @if (!Model.IsResumePriview)
                {
                    <em><a href="#" id="btnResumeReply">回复</a></em>
                    <em><a href="#" id="btnInterview">邀请面试</a></em>
                    using (Html.BeginForm("PriviewDownload", "ResumeDownload", FormMethod.Post, new {style="display:inline;" }))
                    {
                    @Html.HiddenFor(x => Model.ResumeId)
                    @Html.HiddenFor(x => Model.FullName)
                    <input type="submit" id="resumeDownload" class="download_resume" value="下载简历" />
@*@Html.ActionLink("下载简历", "ResumePriview", "ResumeDownload", new
                   {
                       id = Model.ResumeId,
                       name = Model.FullName
                   })*@
                    }
                }
            </li>
            <li>现就职于 @Model.CurrentEmployer</li>
            <li>@Model.EducationLevelName，@Model.YearsOfExperienceName</li>
            <li>@Model.YearsOfExperienceName</li>
            <li><strong>@Model.Mobile</strong></li>
            <li class="mail"><a href="mailto:@Model.Email">@Model.Email</a></li>
            <p>
                @Model.EducationLevelName
            </p>
            <p>
                @Model.Province2Name @Model.City2Name @Model.District2Name
            </p>
        </ul>
    </div>
</div>
<div class="prosecution">
    <table cellpadding="0" cellspacing="0" width="100%">
        <tr>
            <td style="width: 107px; text-align: right;">
                <strong>户口所在地：</strong>
            </td>
            <td>
                @Model.Province1Name @Model.City1Name
            </td>
        </tr>
        <tr>
            <td style="width: 107px; text-align: right;">
                <strong>家庭住址：</strong>
            </td>
            <td>
                @Model.Province2Name @Model.City2Name @Model.District2Name @Model.Street2Name，@Model.PostalCode
            </td>
        </tr>
        <tr>
            <td style="width: 107px; text-align: right;">
                <strong>最近公交线路：</strong>
            </td>
            <td>
                @Model.BusLines
            </td>
        </tr>
        <tr>
            <td style="width: 107px; text-align: right;">
                <strong>固定电话：</strong>
            </td>
            <td>
                @Model.Tel
            </td>
        </tr>
        <tr>
            <td style="width: 107px; text-align: right;">
                <strong>期望工作地：</strong>
            </td>
            <td>
                @Model.CareerGoal.DesiredLocationName
            </td>
        </tr>
        <tr>
            <td style="width: 107px; text-align: right;">
                <strong>期望工作形式：</strong>
            </td>
            <td>
                @Model.CareerGoal.DesiredJobTypeName
            </td>
        </tr>
        <tr>
            <td style="width: 107px; text-align: right;">
                <strong>当前年收入：</strong>
            </td>
            <td>
                @Model.CareerGoal.CurrentRevenueName 元/月
            </td>
        </tr>
        <tr>
            <td style="width: 107px; text-align: right;">
                <strong>期望薪资：</strong>
            </td>
            <td>
                @Model.CareerGoal.DesiredSalaryName 元/月
            </td>
        </tr>
        <tr>
            <td style="width: 107px; text-align: right;">
                <strong>期望行业：</strong>
            </td>
            <td>
                @Model.CareerGoal.DesiredIndustryName
            </td>
        </tr>
        <tr>
            <td style="width: 107px; text-align: right;">
                <strong>期望职业：</strong>
            </td>
            <td>
                @Model.CareerGoal.DesiredOccupationName
            </td>
        </tr>
        <tr>
            <td style="width: 107px; text-align: right;">
                <strong>期望公司类别：</strong>
            </td>
            <td>
                @Model.CareerGoal.DesiredCompanyTypeName
            </td>
        </tr>
        <tr>
            <td style="width: 107px; text-align: right;">
                <strong>到岗时间：</strong>
            </td>
            <td>
                @Model.CareerGoal.CanStartName
            </td>
        </tr>
        <tr>
            <td rowspan="10" style="width: 107px; text-align: right; vertical-align: top;">
                <strong>个人自述：</strong>
            </td>
            <td>
                <p>@Model.PersonalStatement</p>
            </td>
        </tr>
    </table>
</div>
<div class="work_history">
    <p>
        工作经历：
    </p>
    @foreach (var work in Model.WorkExperiences)
    {
        <div class="work_history_messages">
            <h1>@work.JobTitle</h1>
            <h2>@work.CompanyName</h2>
            <h3>
                @work.StartDate.ToString("yyyy年MM月") --
                @if (work.EndDate.HasValue)
                {
                    work.EndDate.Value.ToString("yyyy年MM月");
                }
            </h3>
            <p class="description">@work.Description</p>
            <div class="position_classification">
                职位分类：<span>@work.Category2Name</span>
            </div>
        </div>

        <div class="cl">
        </div>
    }
</div>
<div class="educational_background">
    <p>
        教育背景：
    </p>
    @foreach (var education in Model.Educations)
    {
        <div class="educational_background_messages">
            <h1>@education.SchoolName</h1>
            <h2>@education.Major1Name/@education.Major2Name</h2>
            <h3>
                @education.StartDate.ToString("yyyy年MM月") --
                @if (education.EndDate.HasValue)
                {
                    education.EndDate.Value.ToString("yyyy年MM月");
                }
            </h3>
            <p class="description">
                @education.Notes
            </p>
        </div>
        <div class="cl">
        </div>
    }
</div>
<div class="Training_experience">
    <p>
        培训经历：
    </p>
    @foreach (var training in Model.Trainings)
    {
        <div class="educational_background_messages">
            <h1>@training.Institution</h1>
            <h2>@training.Course/@training.Location</h2>
            <h3>
                @training.StartDate.ToString("yyyy年MM月") --
                @if (training.EndDate.HasValue)
                {
                    training.EndDate.Value.ToString("yyyy年MM月");
                }
            </h3>
            <h4>@training.Qualification</h4>
            <p class="description">@training.Notes</p>
        </div>
        <div class="cl">
        </div>
    }
</div>
<div class="Training_experience">
    <p>
        技能特长：
    </p>
    @foreach (var skill in Model.Skills)
    {
        <div class="educational_background_messages">
            <h1>@skill.SkillCodeName</h1>
            <p class="description">@skill.Body</p>
        </div>
        <div class="cl">
        </div>
    }
</div>
<div class="diplomas">
    <p>
        证书：
    </p>
    @foreach (var certificate in Model.Certifications)
    {
        <div class="educational_background_messages">
            <h1>@certificate.QualifiedCertificationName</h1>
            <h2>@certificate.DateQualified.ToString("yyyy年MM月") 取得</h2>
            <p class="description">@certificate.Score</p>
        </div>
        <div class="cl">
        </div>
    }
</div>
